﻿using System;
using System.Collections.Generic;
using System.Text;

namespace IndustrialCommunication.Client
{
    public class StatusCodes
    {
        public static Dictionary<int, string> FinsStatusCode { get; } = new Dictionary<int, string>
        {
            {0,"通讯正常" },
            {1,"非Fins消息"},
            {2,"消息长度过长"},
            {3,"不支持此命令"},
            {20,"客户端链接超过上限"},
            {21,"指定的节点已经处于连接中"},
            {22,"尝试去链接受保护的网络节点，此节点未配置到PLC中" },
            {23,"当前客户端的网络节点超过正常范围"},
            {24,"当前客户端的网络节点已被使用"},
            {25,"所有的网络节点已经被使用"}
        };

    }
}
